package com.lostreseditores.sabersai.model.control;

import java.util.List;

import com.lostreseditores.sabersai.model.Componente;
import com.lostreseditores.sabersai.model.dto.ComponenteDTO;


public interface IComponenteLogic {
    public List<Componente> getComponente() throws Exception;

    public void saveComponente(String compciadescript, Integer compciaidn,
        String compciasiglav) throws Exception;

    public void deleteComponente(Integer compciaidn) throws Exception;

    public void updateComponente(String compciadescript, Integer compciaidn,
        String compciasiglav) throws Exception;

    public Componente getComponente(Integer compciaidn)
        throws Exception;

    public List<Componente> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Componente> findPageComponente(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberComponente() throws Exception;

    public List<ComponenteDTO> getDataComponente() throws Exception;
}
